package parts5.lesson64;

public class ThreadLocalUtil {
    private static ThreadLocal<Message> threadLocal=new ThreadLocal<Message>();

    public static void set(Message msg){
        threadLocal.set(msg);
    }
    public static Message get(){
        return threadLocal.get();
    }
}
